<!--

// Pre-define functions as null 
function takeShortcut() { }

// DHTML Menu Functions
function showMenu(menu) {}
function hideMenu(menu) {}

// Predefine menu image state functions.
var topnavDown = "";
var snavDown   = "";

function imgOn(imgName) {}
function imgOff(imgName) {}
function imgDown(imgName, locale) {}

function submitForm() {document.catalogSelect.submit();}

// Shortcuts Function
function takeShortcut() {
   var number   = document.ShortcutMenu.Shortcuts.selectedIndex;
   var url      = document.ShortcutMenu.Shortcuts.options[number].value; 
   if (url != "------------------" && url != "Shortcuts") {
      location.href = url;
   }
}

function openHelpWindow(url, name) {
   popupWin = window.open(url, name, "toolbar,resizable,scrollbars,height=400,width=400,left=0,top=0");

   if (popupWin.opener == null) {
      popupWin.opener = window;
      popupWin.opener.name = "opener";
      popupWin.focus();
   }
}

function openLargeWindow(url, name) {
   newWindow = window.open(url, name, "toolbar,resizable,status,scrollbars,height=600,width=800,left=0,top=0");
   if (newWindow.opener == null) {
      newWindow.opener      = window;
      newWindow.opener.name = "opener";
      newWindow.focus();
   }
}

function popupRedirect(url) {
   if (window.opener) {	
      window.opener.window.parent.location.href = url;
      window.opener.focus();
      popupClose();
   } else {
      window.location.href = url;
   }	
}

function popupRedirectNew(url) {
   openLargeWindow( url, "new_window" );
   popupClose();
}

function popupClose() {
   window.close();
}

function searchSubmit(form) {
   var searchString = form.query.value;
   if (searchString.length == 0 || searchString == 'Enter keyword(s)') {
      var errString = "Please enter keywords for your search.";
      alert(errString);
      return false;
   }
   return true;
}

function countrySiteGo( ) {
   var number   = document.chooseCountrySite.countryList.selectedIndex;
   var url      = document.chooseCountrySite.countryList.options[number].value; 
   if ( url != "------" && url != "none" ) {
      location.href = url;
   }
}
//-->